def get_max_plot(long, short):
    if long % short == 0:
        return short
    else:
        return get_max_plot(short, long % short)

print get_max_plot(1680, 640)
